﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FullRefreshService
{
    public static class Helper
    {
        public static string Join<T>(this IEnumerable<T> list, string seperator, Func<T, string> func)
        {
            List<string> bob = new List<string>();
            foreach (var item in list)
            {
                bob.Add(func.Invoke(item));
            }

            string bob2 = string.Join(seperator, bob.ToArray());

            return bob2;
        }
    }
}
